package com.yonyou.cms.epc.mapper.graphic;
import com.yonyou.cms.epc.client.entity.graphic.GraphicAssemblyInfoEmp;
import com.yonyou.cms.epc.client.entity.graphic.GraphicAssemblyInfoPO;
import com.yonyou.cms.epc.client.entity.graphic.GraphicInfoPO;
import com.yonyou.cyx.framework.dao.base.SuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xh
 * @since 2022-06-09
 */
public interface GraphicInfoMapper extends SuperMapper<GraphicInfoPO> {

    int updateByPrimaryKeySelective(GraphicInfoPO entity);

    List<GraphicInfoPO> selectListPo(@Param("params") Map<String, Object> queryCondition);

    boolean deleteBatch(Integer id);

    int insertBatch(List<GraphicInfoPO> graphicInfoPoList);

    int deleteBatchModelSystem(List<GraphicInfoPO> modelSystemList );

    int insertInFo(@Param("createdBy")  String createdBy);

    int deleteBatchModelSystemEmp(List<GraphicAssemblyInfoEmp> modelSystemList );

}
